package com.example.take_out_dish.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description:none
 * @Author:yyyyys、
 * @Date:2024/6/29 1:56
 * @Version:1.0
 **/

@Data
@ConfigurationProperties(prefix = "jwt")
@Component
public class JwtConfig {
    private long ttl;
    private String key;
}
